import Vue from 'vue';
import VueRouter from 'vue-router';

Vue.use(VueRouter);

const routes = [
  { path: '/', name: '首页', component: () => import('@/views/Home.vue') },
  { path: '/manage', name: '图书管理', component: () => import('@/views/Manage.vue') }
]

const router = new VueRouter({
  routes
})

export default router;
